﻿@model MSAcademic.v2.Web.Areas.Admin.Models.Home.IndexModel

@{
    ViewBag.Title = "Naslovnica";
}

<div class="home">

    <h2>Dobrodošli u administracijski kutak</h2>
    <div id ="AdminSections">
        <div class="tile">
            <a href="@Url.RouteUrl("ArticleIndexAdmin")"><i class=" icon-edit"></i> Rad s tekstovima</a>
        </div>
        
        <div class="tile">
            <a href="@Url.RouteUrl("ShowAllGalleries")"><i class="icon-th"></i> Spremišta slika</a>
        </div>               

        @if(Model.CanAccessTags)
        {
            <div class="tile">
                <a href="@Url.RouteUrl("TagIndexAdmin")"><i class="icon-tag"></i> Uređivanje tagova</a>
                </div>
        }
        @if(Model.CanAccessSections)
        {
            <div class="tile">
                <a href="@Url.RouteUrl("ContentSections")"><i class="icon-sitemap"></i> Sekcije sadržaja</a>
            </div>      
        }

        <div class="tile">
            <a href="@Url.RouteUrl("EditUserProfile")" class="personal"><i class="icon-user"></i> Uredi podatke o sebi</a>
        </div> 

        <div class="tile">
            <a href="@Url.RouteUrl("ChangeProfilePicture")" class="personal"><i class="icon-picture"></i>Uredi svoju fotografiju</a>
        </div>   

    </div>
</div>